package com.ido.otaclient.module;

/**
 * Copyright (c) 2019 深圳市爱都科技有限公司. All rights reserved.
 *
 * @Author: xyb
 * @CreateDate: 2020-02-21 21:31
 * @description
 */
public class DeviceProgressEntity extends BaseEntity{
    private String ip;
    private String mac;
    private int progress;
    /**
     * ip + 端口号
     */
    private String ipPort;
    /**
     * 升级状态 0 代表等待升级 1、代表升级中 2、代表升级完成 3代表升级失败 4 代表取消升级
     */
    private int status;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getIpPort() {
        return ipPort;
    }

    public void setIpPort(String ipPort) {
        this.ipPort = ipPort;
    }

    @Override
    public String toString() {
        return "DeviceProgressEntity{" +
                "ip='" + ip + '\'' +
                ", mac='" + mac + '\'' +
                ", progress=" + progress +
                ", ipPort='" + ipPort + '\'' +
                ", status=" + status +
                '}';
    }
}
